Fix to help-buffer to ensure it returns a valid buffer (Bug#8147).
authorChong Yidong <cyd@stupidchicken.com>
Sat, 5 Mar 2011 21:10:03 +0000 (16:10 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 5 Mar 2011 21:10:03 +0000 (16:10 -0500)
commit9f852be58aa6741975346b7dff09eaa1621d0117
tree7c48836776a613ca4986fc5497c3b13ba5f4dff9
parentf6df07fd3248a4245cc2278de7495497ec6803fc
Fix to help-buffer to ensure it returns a valid buffer (Bug#8147).

* lisp/help-mode.el (help-buffer): If we are to return the current
buffer, signal an error if it's not in Help mode.
lisp/ChangeLog
lisp/help-mode.el